{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2.1.0\n",
      "sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0)\n",
      "matplotlib 3.1.3\n",
      "numpy 1.18.1\n",
      "pandas 1.0.1\n",
      "sklearn 0.22.1\n",
      "tensorflow 2.1.0\n",
      "tensorflow_core.keras 2.2.4-tf\n"
     ]
    }
   ],
   "source": [
    "import matplotlib as mpl\n",
    "import matplotlib.pyplot as plt\n",
    "%matplotlib inline\n",
    "import numpy as np\n",
    "import sklearn\n",
    "import pandas as pd\n",
    "import os\n",
    "import sys\n",
    "import time\n",
    "import tensorflow as tf\n",
    "\n",
    "from tensorflow import keras\n",
    "\n",
    "print(tf.__version__)\n",
    "print(sys.version_info)\n",
    "for module in mpl, np, pd, sklearn, tf, keras:\n",
    "    print(module.__name__, module.__version__)\n",
    "    \n",
    "'''\n",
    "1. 使用pandas读取 titanic数据，并进行数据分析\n",
    "2. 将 dataframe 读取为 dataset\n",
    "    关键点：dataframe需要转化为字典类型\n",
    "3. 创建feature_columns 并在模型输入层添加DenseFeature()层，\n",
    "    对传入的dataset数据进行处理如（one_hot）编码等\n",
    "\n",
    "'''"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1\n"
     ]
    }
   ],
   "source": [
    "dict1={\n",
    "    \"sex\":{\n",
    "        \"man\":1,\n",
    "        \"female\":2\n",
    "    }\n",
    "}\n",
    "print(dict1['sex'][\"man\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "   survived     sex   age  n_siblings_spouses  parch     fare  class     deck  \\\n",
      "0         0    male  22.0                   1      0   7.2500  Third  unknown   \n",
      "1         1  female  38.0                   1      0  71.2833  First        C   \n",
      "2         1  female  26.0                   0      0   7.9250  Third  unknown   \n",
      "3         1  female  35.0                   1      0  53.1000  First        C   \n",
      "4         0    male  28.0                   0      0   8.4583  Third  unknown   \n",
      "\n",
      "   embark_town alone  \n",
      "0  Southampton     n  \n",
      "1    Cherbourg     n  \n",
      "2  Southampton     y  \n",
      "3  Southampton     n  \n",
      "4   Queenstown     y  \n",
      "   survived     sex   age  n_siblings_spouses  parch     fare   class  \\\n",
      "0         0    male  35.0                   0      0   8.0500   Third   \n",
      "1         0    male  54.0                   0      0  51.8625   First   \n",
      "2         1  female  58.0                   0      0  26.5500   First   \n",
      "3         1  female  55.0                   0      0  16.0000  Second   \n",
      "4         1    male  34.0                   0      0  13.0000  Second   \n",
      "\n",
      "      deck  embark_town alone  \n",
      "0  unknown  Southampton     y  \n",
      "1        E  Southampton     y  \n",
      "2        C  Southampton     y  \n",
      "3  unknown  Southampton     y  \n",
      "4        D  Southampton     y  \n"
     ]
    }
   ],
   "source": [
    "# https://storage.googleapis.com/tf-datasets/titanic/train.csv\n",
    "# https://storage.googleapis.com/tf-datasets/titanic/eval.csv\n",
    "train_file = \"./data/titanic/train.csv\"\n",
    "eval_file = \"./data/titanic/eval.csv\"\n",
    "\n",
    "train_df = pd.read_csv(train_file)\n",
    "eval_df = pd.read_csv(eval_file)\n",
    "\n",
    "print(train_df.head())\n",
    "print(eval_df.head())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "      sex   age  n_siblings_spouses  parch     fare  class     deck  \\\n",
      "0    male  22.0                   1      0   7.2500  Third  unknown   \n",
      "1  female  38.0                   1      0  71.2833  First        C   \n",
      "2  female  26.0                   0      0   7.9250  Third  unknown   \n",
      "3  female  35.0                   1      0  53.1000  First        C   \n",
      "4    male  28.0                   0      0   8.4583  Third  unknown   \n",
      "\n",
      "   embark_town alone  \n",
      "0  Southampton     n  \n",
      "1    Cherbourg     n  \n",
      "2  Southampton     y  \n",
      "3  Southampton     n  \n",
      "4   Queenstown     y  \n",
      "      sex   age  n_siblings_spouses  parch     fare   class     deck  \\\n",
      "0    male  35.0                   0      0   8.0500   Third  unknown   \n",
      "1    male  54.0                   0      0  51.8625   First        E   \n",
      "2  female  58.0                   0      0  26.5500   First        C   \n",
      "3  female  55.0                   0      0  16.0000  Second  unknown   \n",
      "4    male  34.0                   0      0  13.0000  Second        D   \n",
      "\n",
      "   embark_town alone  \n",
      "0  Southampton     y  \n",
      "1  Southampton     y  \n",
      "2  Southampton     y  \n",
      "3  Southampton     y  \n",
      "4  Southampton     y  \n",
      "0    0\n",
      "1    1\n",
      "2    1\n",
      "3    1\n",
      "4    0\n",
      "Name: survived, dtype: int64\n",
      "0    0\n",
      "1    0\n",
      "2    1\n",
      "3    1\n",
      "4    1\n",
      "Name: survived, dtype: int64\n"
     ]
    }
   ],
   "source": [
    "y_train = train_df.pop('survived')\n",
    "y_eval = eval_df.pop('survived')\n",
    "\n",
    "print(train_df.head())\n",
    "print(eval_df.head())\n",
    "print(y_train.head())\n",
    "print(y_eval.head())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>age</th>\n",
       "      <th>n_siblings_spouses</th>\n",
       "      <th>parch</th>\n",
       "      <th>fare</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>count</th>\n",
       "      <td>627.000000</td>\n",
       "      <td>627.000000</td>\n",
       "      <td>627.000000</td>\n",
       "      <td>627.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>mean</th>\n",
       "      <td>29.631308</td>\n",
       "      <td>0.545455</td>\n",
       "      <td>0.379585</td>\n",
       "      <td>34.385399</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>std</th>\n",
       "      <td>12.511818</td>\n",
       "      <td>1.151090</td>\n",
       "      <td>0.792999</td>\n",
       "      <td>54.597730</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>min</th>\n",
       "      <td>0.750000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25%</th>\n",
       "      <td>23.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>7.895800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50%</th>\n",
       "      <td>28.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>15.045800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75%</th>\n",
       "      <td>35.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>31.387500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>max</th>\n",
       "      <td>80.000000</td>\n",
       "      <td>8.000000</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>512.329200</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              age  n_siblings_spouses       parch        fare\n",
       "count  627.000000          627.000000  627.000000  627.000000\n",
       "mean    29.631308            0.545455    0.379585   34.385399\n",
       "std     12.511818            1.151090    0.792999   54.597730\n",
       "min      0.750000            0.000000    0.000000    0.000000\n",
       "25%     23.000000            0.000000    0.000000    7.895800\n",
       "50%     28.000000            0.000000    0.000000   15.045800\n",
       "75%     35.000000            1.000000    0.000000   31.387500\n",
       "max     80.000000            8.000000    5.000000  512.329200"
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_df.describe()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(627, 9) (264, 9)\n"
     ]
    }
   ],
   "source": [
    "print(train_df.shape, eval_df.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f1beb50fb00>"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "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\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "train_df.age.hist(bins = 20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f1beb662e80>"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "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0bPGGOckeVGSn6iqZ6++cyzOAbfF54O30yyT303ypCRnJbkzydvnHKaqTkry50l+Zozx1dX3zbl268y1LdZtjPG1McZZSU7P4szkyXPMsZ61s1XVmUnemMWMz0jymCQ/v+y5quqHktw1xti37GPfn2M5DHckefyq26dP+2Yzxrhj+vWuJH+RxQvki4dPRadf75pvwg1nmX0txxhfnF7A9yV5d75x2WPps1XVcVn84fu+McaHp92zr916c22ndZvm+UqSq5N8dxaXYQ7/f2yrj//12ab7T07yn0uc7YXTpbkxxrg3yR9knnX73iQvrqqDWVwKf16S38o2WLdjOQz/kGT39A7+8Vm8GfPRuYapqhOr6lGHt5O8IMlN00wXTg+7MMlH5pkwOcIsH03y6ukTGc9McmjVZZOlWHMd96VZrN3h2V4xfSLjiUl2J7l2C+eoJL+f5JYxxm+sumvWtdtoru2wblV1alU9etr+liQ/kMV7IFcnefn0sLVrdngtX57kquksbFmz3boq8pXFNfzV67aU18IY441jjNPHGCtZ/Pl11RjjldkG67al77Zv9VcWnyD4XBbXM9808yxnZPEpkBuS3Hx4niyuAX46yeeT/HWSxyxpnj/N4tLC/2RxnfK1G82SxScw3jmt4/4k584w2x9Nx74xixfArlWPf9M024EkL9ri2Z6VxWWiG5NcP32dP/faHWGu2dctydOSXDfNcFOSN696TVybxRvfH0yyc9p/wnT7tun+M2aY7app3W5K8sf5xieXlvpaWDXnc/KNTyXNvm7+SwwAmmP5UhIAW0AYAGiEAYBGGABohAGARhgAaIQBgOb/AEYEJAUZdZ+FAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "train_df.sex.value_counts().plot(kind = 'barh')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f1beb584f28>"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "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\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "train_df['class'].value_counts().plot(kind = 'barh')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f1beb3b6a58>"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZUAAAD4CAYAAAAkRnsLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAANOklEQVR4nO3dfbDlBV3H8ffHFtcJFU1oZgPxJq0RIUYCmVOMTGbEToCChqnJDMH4MDiN0USZDSOVm1raA2ZYBjUWIsNMGCKTAjURYEs87CCCqNsEMpUmC+NOFvDtj/PbPF7vsmfd73m4d9+vmTtzzr2/Pfdzz73w3t/5LUuqCkmSOjxp3gMkSWuHUZEktTEqkqQ2RkWS1MaoSJLarJv3gHk68MADa2lpad4zJGlVufXWW79cVQet9LF9OipLS0ts2bJl3jMkaVVJ8q+7+pgvf0mS2hgVSVIboyJJamNUJEltjIokqY1RkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVKbdfMeME9bH9jO0vlXz3vGwtu2edO8J0haJTxTkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVIboyJJamNUJEltVnVUkrwkyd/Oe4ckaWRVR0WStFjmHpUkS0k+m+SSJPcm+XCSlya5Mcnnkhw3vN2U5LYk/5Tk+1d4nP2TfCjJp4fjTpnH1yNJ+7K5R2XwfcDvAocPbz8H/BhwHvBrwGeBH6+qo4HfAH57hcd4G3BdVR0HnAC8O8n+yw9Kck6SLUm2PLZj+1S+GEnaV62b94DBF6tqK0CSu4BPVVUl2QosAQcAlybZCBSw3wqP8TLg5CTnDfefAhwK3D1+UFVdDFwMsH7DxprC1yJJ+6xFicrXx24/Pnb/cUYbLwSur6qXJ1kCbljhMQKcVlX3TG+mJOmJLMrLX7tzAPDAcPvMXRxzLXBukgAkOXoGuyRJY1ZLVN4FvDPJbez67OpCRi+L3Tm8hHbhrMZJkkZSte9eVli/YWNteP375j1j4W3bvGneEyQtkCS3VtUxK31stZypSJJWAaMiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVIboyJJamNUJEltjIokqY1RkSS1WTfvAfP0/IMPYMvmTfOeIUlrhmcqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVIboyJJamNUJEltjIokqY1RkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWozUVSSXJhk3dj9pyf58+nNkiStRpOeqawDbklyVJKfBP4ZuHV6syRJq9G63R8CVfWrST4J3AJ8FTi+qu6b6jJJ0qoz6ctfxwN/ALwDuAH4wyTfM8VdkqRVaKIzFeA9wCur6jMASV4BXAccPq1hkqTVZ9Ko/GhVPbbzTlVdmeTvp7RJkrRKTXqh/sAkf5bkEwBJjgBOnd4sSdJqNGlULgGuBTYM9+8FfnEagyRJq9fEZypVdTnwOEBVPQo89sS/RJK0r5k0Kl9L8iygAJK8CNg+tVWSpFVp0gv1bwWuAg5LciNwEHD61FZJklalSc9UDgN+Gngxo2srn2PyIEmS9hGTRuXtVfUw8EzgBOD9wB9PbZUkaVWaNCo7L8pvAj5YVVcDT57OJEnSajVpVB5I8ifAzwIfT7J+D36tJGkfMWkYXsXoWspPVdVDwHcBvzy1VZKkVWnSv6V4B3Dl2P0HgQenNUqStDr5EpYkqY1RkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqM9H/T2Wt2vrAdpbOv3reMyRpprZt3jS1x/ZMRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVIboyJJamNUJEltjIokqY1RkSS1mVpUkrwlyd1JPjylx78gyXnTeGxJ0rdn3RQf+03AS6vq/il+DknSAplKVJJ8AHgucE2Sy4DDgCOB/YALqupvkpwJnArsD2wE3gM8GXgd8HXgpKr6ryRnA+cMH7sPeF1V7Vj2+Q4DLgIOAnYAZ1fVZ6fxtUmSdm0qL39V1RuALwEnMIrGdVV13HD/3Un2Hw49EngFcCzwW8COqjoauAn4+eGYK6vq2Kp6AXA3cNYKn/Ji4NyqeiFwHvD+XW1Lck6SLUm2PLZj+95+qZKkMdN8+WunlwEnj13/eApw6HD7+qp6BHgkyXbgY8P7twJHDbePTPKbwDOApwLXjj94kqcCLwY+mmTnu9fvakxVXcwoQqzfsLH24uuSJC0zi6gEOK2q7vmmdyY/wuhlrp0eH7v/+Ni2S4BTq+qO4SWzlyx7/CcBD1XVD/XOliTtqVn8keJrgXMznEYkOXoPf/3TgAeT7Ae8ZvkHq+ph4ItJXjk8fpK8YC83S5K+DbOIyoWMLtDfmeSu4f6eeDtwC3AjsKuL768BzkpyB3AXcMq3uVWStBdSte9eVli/YWNteP375j1DkmZq2+ZNe/Xrk9xaVces9DH/i3pJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2hgVSVIboyJJamNUJEltjIokqY1RkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ26+Y9YJ6ef/ABbNm8ad4zJGnN8ExFktTGqEiS2hgVSVIboyJJamNUJEltjIokqY1RkSS1MSqSpDZGRZLUxqhIktoYFUlSG6MiSWpjVCRJbYyKJKmNUZEktTEqkqQ2RkWS1MaoSJLaGBVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNkZFktTGqEiS2qSq5r1hbpI8Atwz7x27cSDw5XmP2A037r1F3wdu7LIWNj6nqg5a6QPrprNn1binqo6Z94gnkmSLG/feom9c9H3gxi5rfaMvf0mS2hgVSVKbfT0qF897wATc2GPRNy76PnBjlzW9cZ++UC9J6rWvn6lIkhoZFUlSmzUflSQnJrknyX1Jzl/h4+uTfGT4+C1JlhZw4/FJ/iXJo0lOn/W+CTe+NclnktyZ5FNJnrOAG9+QZGuS25P8Y5IjFm3j2HGnJakkM/+jpxM8j2cm+c/hebw9yS8s2sbhmFcNP5N3JfmrRduY5L1jz+G9SR5awI2HJrk+yW3DP9sn7fZBq2rNvgHfAXweeC7wZOAO4Ihlx7wJ+MBw+wzgIwu4cQk4CvgL4PQFfR5PAL5zuP3GBX0enz52+2TgE4u2cTjuacA/ADcDxyzaRuBM4I9m/XO4hxs3ArcBzxzuf/eibVx2/LnAhxZtI6ML9m8cbh8BbNvd4671M5XjgPuq6gtV9T/AZcApy445Bbh0uH0F8BNJskgbq2pbVd0JPD7DXeMm2Xh9Ve0Y7t4MHLKAGx8eu7s/MOs/pTLJzyPAhcDvAP89y3GDSTfO0yQbzwYuqqqvAlTVfyzgxnGvBv56Jsu+YZKNBTx9uH0A8KXdPehaj8rBwL+N3b9/eN+Kx1TVo8B24FkzWbfs8w9W2jhve7rxLOCaqS76VhNtTPLmJJ8H3gW8ZUbbdtrtxiQ/DDy7qq6e5bAxk36vTxteDrkiybNnM+3/TbLxecDzktyY5OYkJ85s3cjE/8wMLxV/L3DdDHaNm2TjBcBrk9wPfJzRGdUTWutR0YwleS1wDPDueW9ZSVVdVFWHAb8C/Pq894xL8iTg94BfmveW3fgYsFRVRwF/xzfO9BfJOkYvgb2E0VnAB5M8Y66Ldu0M4IqqemzeQ1bwauCSqjoEOAn4y+HndJfWelQeAMZ/F3XI8L4Vj0myjtEp3ldmsm7Z5x+stHHeJtqY5KXA24CTq+rrM9q2054+j5cBp0510bfa3canAUcCNyTZBrwIuGrGF+t3+zxW1VfGvr9/CrxwRtt2muR7fT9wVVX9b1V9EbiXUWRmZU9+Hs9g9i99wWQbzwIuB6iqm4CnMPrLJndtlheGZv3G6HcrX2B0arnzQtQPLjvmzXzzhfrLF23j2LGXMJ8L9ZM8j0czuui3cYG/1xvHbv8MsGXRNi47/gZmf6F+kudxw9jtlwM3L+DGE4FLh9sHMnqZ51mLtHE47nBgG8N/iL6Az+M1wJnD7R9gdE3lCbfO9IuYxxujU7Z7h3/hvW143zsY/W4aRuX9KHAf8GnguQu48VhGv/P6GqOzqLsWcOMngX8Hbh/erlrAjb8P3DXsu/6J/oU+r43Ljp15VCZ8Ht85PI93DM/j4Qu4MYxeSvwMsBU4Y9E2DvcvADbPetsePI9HADcO3+vbgZft7jH9a1okSW3W+jUVSdIMGRVJUhujIklqY1QkSW2MiiSpjVGRJLUxKpKkNv8HI3xBBqQbZhEAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "pd.concat([train_df, y_train], axis = 1).groupby('sex').survived.mean().plot(kind='barh')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "sex ['male' 'female']\n",
      "n_siblings_spouses [1 0 3 4 2 5 8]\n",
      "parch [0 1 2 5 3 4]\n",
      "class ['Third' 'First' 'Second']\n",
      "deck ['unknown' 'C' 'G' 'A' 'B' 'D' 'F' 'E']\n",
      "embark_town ['Southampton' 'Cherbourg' 'Queenstown' 'unknown']\n",
      "alone ['n' 'y']\n"
     ]
    }
   ],
   "source": [
    "categorical_columns = ['sex', 'n_siblings_spouses', 'parch', 'class',\n",
    "                       'deck', 'embark_town', 'alone']\n",
    "numeric_columns = ['age', 'fare']\n",
    "\n",
    "feature_columns = []\n",
    "## 遍历每个离散型分类变量\n",
    "for categorical_column in categorical_columns:\n",
    "    ## 获取这个feature在数据集中的单独数据数量（多少种不重复的数据）\n",
    "    vocab = train_df[categorical_column].unique()\n",
    "    print(categorical_column, vocab)\n",
    "    \n",
    "    ## 将结果添加到feature_columns数组中\n",
    "    feature_columns.append(\n",
    "        ## 对数据进行one-hot编码\n",
    "        tf.feature_column.indicator_column(\n",
    "            ## 产生一个feature，需要传入的结果是feature字段名称 + 该字段的value\n",
    "            tf.feature_column.categorical_column_with_vocabulary_list(\n",
    "                categorical_column, vocab)))\n",
    "    '''\n",
    "    上面的流程类似于：\n",
    "    1. 创建一个map，指定key=>value  \n",
    "        key=categorical_column\n",
    "        value=数据中这个字段的值\n",
    "        \n",
    "        所以每次添加的对象格式都类似于下面这样\n",
    "        {\n",
    "            \"sex\":[\"male\",\"female\"]\n",
    "        }\n",
    "        \n",
    "    2. 对数据进行 one-hot编码\n",
    "        {\n",
    "            \"sex\":[10,01]\n",
    "        \n",
    "        }\n",
    "    \n",
    "    '''\n",
    "    \n",
    "    \n",
    "## 对于连续性数据，直接转变为书籍feature就行了，\n",
    "## 因为是连续的，就是一个个的值，不是分类结果，没必要做one-hot编码\n",
    "for categorical_column in numeric_columns:\n",
    "    feature_columns.append(\n",
    "        tf.feature_column.numeric_column(\n",
    "            categorical_column, dtype=tf.float32))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=71.2833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=53.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.4583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.075>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=11.1333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0708>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.7>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'G'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=35.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.3875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=263.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.7208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=146.5208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=66.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=82.1708>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=11.2417>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=3.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=41.5792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.6792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=17.8>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=7.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=76.7292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=65.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=61.9792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=35.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=11.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=46.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=80.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=83.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.2458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.1583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=73.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.65>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=0.83>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=47.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=34.375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=263.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=46.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=61.175>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=59.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=71.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=34.6542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=63.3583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=77.2875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=37.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=70.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=247.5208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0708>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.1417>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.975>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.0458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.2833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=37.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=53.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.2167>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=79.2>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.2458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=11.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=34.375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=55.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.3125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=61.3792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=1.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=55.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.4667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=28.7125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.3875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=22.025>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=3.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.7208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=58.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=146.5208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.4625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'G'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.85>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=18.7875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=113.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.35>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.4667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=83.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=59.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=90.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.4625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'G'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=41.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.2125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=79.2>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=512.3292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=3.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.3875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=58.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=153.4625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=135.6333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=41.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=37.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.7>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=63.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=77.9583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=7.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=78.85>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=247.5208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.35>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=110.8833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=108.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.9292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=83.1583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=262.375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=43.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=164.8667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=134.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=135.6333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=61.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.2375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=153.4625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=133.65>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=66.6>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=35.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=15.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=17.8>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=55.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.7208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=60.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=75.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.3>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=82.1708>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=211.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=227.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=73.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=1.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=46.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=120.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=113.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.7>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'G'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=46.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.85>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=3.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=18.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.4667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.8583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=32.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.2125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=55.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=120.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=18.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=64.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=263.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.1125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=5.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.2583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=89.1042>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=65.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=51.8625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=38.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=56.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.725>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=0.75>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.2583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.7917>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.0458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.2875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=46.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=63.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=91.0792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.4667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=90.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=58.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.7>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.9667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=71.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=49.5042>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=151.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=37.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=108.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=54.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=59.4>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=34.0208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=93.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=44.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=57.9792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=221.7792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=11.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=22.3583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=7.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=106.425>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=49.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=71.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=11.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=106.425>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.8625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=110.8833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=227.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=79.65>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=17.4>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.075>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=62.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=53.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=51.4792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.3875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=40.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=60.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=79.2>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=78.2667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=37.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.9292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=41.5792>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=153.4625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=65.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.7417>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=61.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=32.3208>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=57.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.35>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=77.9583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=80.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.0542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=41.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=0.75>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.2583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=76.7292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.4333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=73.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=133.65>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.5875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=43.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=40.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.8417>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=512.3292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=76.7292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=14.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=5>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=46.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=60.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.1708>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=15.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=211.3375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=57.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.4167>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=60.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=110.8833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.2875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7417>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=151.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.2458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=49.5042>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.4833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.65>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=38.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=227.525>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=15.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=6.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=50.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=53.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=211.3375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=11.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=18.7875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=512.3292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=36.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=78.85>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=262.375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=16.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=70.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=71.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=6.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=65.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.7958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=41.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.125>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=77.9583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.3625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=48.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=57.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'F'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=5.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=12.475>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=17.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=57.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=29.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.45>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=1.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=20.575>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=46.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=79.2>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.6958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=49.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=25.9292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6833>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.25>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=11.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=120.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.775>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=53.1>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.15>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=0.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.925>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=37.0042>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=10.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=27.9>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=52.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=93.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=2.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.6875>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.95>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=56.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=15.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.4542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.2292>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=23.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.3>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=39.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=83.1583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=21.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.6625>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=8.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=29.7>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=34.5>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=6.4375>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=8>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=69.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=35.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=89.1042>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'C'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=4>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=31.275>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=16.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=39.4>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=18.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.35>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=45.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=164.8667>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=51.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=26.55>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'E'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=3>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=19.2583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=41.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=14.1083>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=42.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=27.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=13.8583>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=31.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=50.4958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'A'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=4.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=11.1333>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=26.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=52.5542>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'D'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=33.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=5.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=47.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=24.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=15.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.225>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Cherbourg'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=20.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=9.8458>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.8958>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5167>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=10.5>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Second'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=25.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.05>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=19.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=30.0>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'First'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'B'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=1>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'female'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=28.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=2>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=23.45>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n",
      "({'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, 'age': <tf.Tensor: shape=(), dtype=float64, numpy=32.0>, 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.75>, 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Queenstown'>, 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'y'>}, <tf.Tensor: shape=(), dtype=int32, numpy=0>)\n"
     ]
    }
   ],
   "source": [
    " dataset = tf.data.Dataset.from_tensor_slices(\n",
    "        ## 注意要把dataFrame数据转变为 dict字典类型\n",
    "        ## 每个项都是 <class 'pandas.core.series.Series'>，相当于一条excel列的记录\n",
    "        (dict(train_df), y_train))\n",
    "    \n",
    "for item in dataset:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'sex': 0        male\n",
      "1      female\n",
      "2      female\n",
      "3      female\n",
      "4        male\n",
      "        ...  \n",
      "622      male\n",
      "623      male\n",
      "624    female\n",
      "625    female\n",
      "626      male\n",
      "Name: sex, Length: 627, dtype: object, 'age': 0      22.0\n",
      "1      38.0\n",
      "2      26.0\n",
      "3      35.0\n",
      "4      28.0\n",
      "       ... \n",
      "622    28.0\n",
      "623    25.0\n",
      "624    19.0\n",
      "625    28.0\n",
      "626    32.0\n",
      "Name: age, Length: 627, dtype: float64, 'n_siblings_spouses': 0      1\n",
      "1      1\n",
      "2      0\n",
      "3      1\n",
      "4      0\n",
      "      ..\n",
      "622    0\n",
      "623    0\n",
      "624    0\n",
      "625    1\n",
      "626    0\n",
      "Name: n_siblings_spouses, Length: 627, dtype: int64, 'parch': 0      0\n",
      "1      0\n",
      "2      0\n",
      "3      0\n",
      "4      0\n",
      "      ..\n",
      "622    0\n",
      "623    0\n",
      "624    0\n",
      "625    2\n",
      "626    0\n",
      "Name: parch, Length: 627, dtype: int64, 'fare': 0       7.2500\n",
      "1      71.2833\n",
      "2       7.9250\n",
      "3      53.1000\n",
      "4       8.4583\n",
      "        ...   \n",
      "622    10.5000\n",
      "623     7.0500\n",
      "624    30.0000\n",
      "625    23.4500\n",
      "626     7.7500\n",
      "Name: fare, Length: 627, dtype: float64, 'class': 0       Third\n",
      "1       First\n",
      "2       Third\n",
      "3       First\n",
      "4       Third\n",
      "        ...  \n",
      "622    Second\n",
      "623     Third\n",
      "624     First\n",
      "625     Third\n",
      "626     Third\n",
      "Name: class, Length: 627, dtype: object, 'deck': 0      unknown\n",
      "1            C\n",
      "2      unknown\n",
      "3            C\n",
      "4      unknown\n",
      "        ...   \n",
      "622    unknown\n",
      "623    unknown\n",
      "624          B\n",
      "625    unknown\n",
      "626    unknown\n",
      "Name: deck, Length: 627, dtype: object, 'embark_town': 0      Southampton\n",
      "1        Cherbourg\n",
      "2      Southampton\n",
      "3      Southampton\n",
      "4       Queenstown\n",
      "          ...     \n",
      "622    Southampton\n",
      "623    Southampton\n",
      "624    Southampton\n",
      "625    Southampton\n",
      "626     Queenstown\n",
      "Name: embark_town, Length: 627, dtype: object, 'alone': 0      n\n",
      "1      n\n",
      "2      y\n",
      "3      n\n",
      "4      y\n",
      "      ..\n",
      "622    y\n",
      "623    y\n",
      "624    y\n",
      "625    n\n",
      "626    y\n",
      "Name: alone, Length: 627, dtype: object}\n"
     ]
    }
   ],
   "source": [
    "data=dict(train_df)\n",
    "print(data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 从dataframe中 创建dataset\n",
    "def make_dataset(data_df, label_df, epochs = 10, shuffle = True,\n",
    "                 batch_size = 32):\n",
    "    \n",
    "    ## 注意点：from_tensor_slices会把传入的字典，分割为一个个的切片，\n",
    "    ## 比方说传入{\"name\":[1,2,3,4]}\n",
    "    ## 输出的dataset的数据格式就是 ，会做切片处理。\n",
    "    #     [\n",
    "    #         {\"name\":1},\n",
    "    #         {\"name\":2},\n",
    "    #         {\"name\":3},\n",
    "    #         {\"name\":4},\n",
    "    #     ]\n",
    "    ## 其实这样做就是为了将数据拆分开\n",
    "    \n",
    "    \n",
    "    \n",
    "    dataset = tf.data.Dataset.from_tensor_slices(\n",
    "        ## 注意要把dataFrame数据转变为 dict字典类型\n",
    "        ## 每个项都是 <class 'pandas.core.series.Series'>，相当于一条excel列的记录\n",
    "        (dict(data_df), label_df))\n",
    "    ## dataset中的每个item的数据格式如下 (dict,scalar)\n",
    "#         (\n",
    "#             {\n",
    "#                 'sex': <tf.Tensor: shape=(), dtype=string, numpy=b'male'>, \n",
    "#                 'age': <tf.Tensor: shape=(), dtype=float64, numpy=22.0>, \n",
    "#                 'n_siblings_spouses': <tf.Tensor: shape=(), dtype=int32, numpy=1>, \n",
    "#                 'parch': <tf.Tensor: shape=(), dtype=int32, numpy=0>, \n",
    "#                 'fare': <tf.Tensor: shape=(), dtype=float64, numpy=7.25>, \n",
    "#                 'class': <tf.Tensor: shape=(), dtype=string, numpy=b'Third'>, \n",
    "#                 'deck': <tf.Tensor: shape=(), dtype=string, numpy=b'unknown'>, \n",
    "#                 'embark_town': <tf.Tensor: shape=(), dtype=string, numpy=b'Southampton'>, \n",
    "#                 'alone': <tf.Tensor: shape=(), dtype=string, numpy=b'n'>}, \n",
    "#             <tf.Tensor: shape=(), dtype=int32, numpy=0>\n",
    "#         )\n",
    "    \n",
    "    if shuffle:\n",
    "        dataset = dataset.shuffle(10000)\n",
    "    dataset = dataset.repeat(epochs).batch(batch_size)\n",
    "    return dataset"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<TensorSliceDataset shapes: {sex: ()}, types: {sex: tf.int32}>\n",
      "{'sex': <tf.Tensor: shape=(), dtype=int32, numpy=1>}\n",
      "{'sex': <tf.Tensor: shape=(), dtype=int32, numpy=2>}\n",
      "{'sex': <tf.Tensor: shape=(), dtype=int32, numpy=3>}\n",
      "{'sex': <tf.Tensor: shape=(), dtype=int32, numpy=4>}\n",
      "{'sex': <tf.Tensor: shape=(), dtype=int32, numpy=5>}\n"
     ]
    }
   ],
   "source": [
    "data={\n",
    "    \"sex\":[1,2,3,4,5]\n",
    "}\n",
    "data2=[1,2,3,4,5]\n",
    "# dataset=tf.data.Dataset.from_tensor_slices((data,data2))\n",
    "dataset=tf.data.Dataset.from_tensor_slices(data)\n",
    "print(dataset)\n",
    "for item in dataset:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "train_dataset = make_dataset(train_df, y_train, batch_size = 5)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'sex': <tf.Tensor: id=36, shape=(5,), dtype=string, numpy=array([b'male', b'female', b'male', b'male', b'male'], dtype=object)>, 'age': <tf.Tensor: id=28, shape=(5,), dtype=float64, numpy=array([29.,  2., 46., 32., 21.])>, 'n_siblings_spouses': <tf.Tensor: id=34, shape=(5,), dtype=int32, numpy=array([0, 1, 1, 0, 0], dtype=int32)>, 'parch': <tf.Tensor: id=35, shape=(5,), dtype=int32, numpy=array([0, 1, 0, 0, 0], dtype=int32)>, 'fare': <tf.Tensor: id=33, shape=(5,), dtype=float64, numpy=array([30.   , 26.   , 61.175,  7.925,  8.05 ])>, 'class': <tf.Tensor: id=30, shape=(5,), dtype=string, numpy=array([b'First', b'Second', b'First', b'Third', b'Third'], dtype=object)>, 'deck': <tf.Tensor: id=31, shape=(5,), dtype=string, numpy=array([b'D', b'unknown', b'E', b'unknown', b'unknown'], dtype=object)>, 'embark_town': <tf.Tensor: id=32, shape=(5,), dtype=string, numpy=\n",
      "array([b'Southampton', b'Southampton', b'Southampton', b'Southampton',\n",
      "       b'Southampton'], dtype=object)>, 'alone': <tf.Tensor: id=29, shape=(5,), dtype=string, numpy=array([b'y', b'n', b'n', b'y', b'y'], dtype=object)>} tf.Tensor([0 1 0 0 0], shape=(5,), dtype=int32)\n"
     ]
    }
   ],
   "source": [
    "for x, y in train_dataset.take(1):\n",
    "    print(x, y)\n",
    "    \n",
    "\n",
    "'''\n",
    "item的数据格式：\n",
    "可见，经过batch后，数据中的numpy数据量发生了变化\n",
    "其实batch操作就是对\n",
    "(\n",
    "    {\n",
    "        'sex': <tf.Tensor: id=36, shape=(5,), dtype=string, numpy=array([b'male', b'female', b'male', b'male', b'male'], dtype=object)>, \n",
    "        'age': <tf.Tensor: id=28, shape=(5,), dtype=float64, numpy=array([29.,  2., 46., 32., 21.])>, \n",
    "        'n_siblings_spouses': <tf.Tensor: id=34, shape=(5,), dtype=int32, numpy=array([0, 1, 1, 0, 0], dtype=int32)>, \n",
    "        'parch': <tf.Tensor: id=35, shape=(5,), dtype=int32, numpy=array([0, 1, 0, 0, 0], dtype=int32)>, \n",
    "        'fare': <tf.Tensor: id=33, shape=(5,), dtype=float64, numpy=array([30.   , 26.   , 61.175,  7.925,  8.05 ])>, \n",
    "        'class': <tf.Tensor: id=30, shape=(5,), dtype=string, numpy=array([b'First', b'Second', b'First', b'Third', b'Third'], dtype=object)>, \n",
    "        'deck': <tf.Tensor: id=31, shape=(5,), dtype=string, numpy=array([b'D', b'unknown', b'E', b'unknown', b'unknown'], dtype=object)>, \n",
    "        'embark_town': <tf.Tensor: id=32, shape=(5,), dtype=string, numpy=\n",
    "                array([b'Southampton', b'Southampton', b'Southampton', b'Southampton',\n",
    "                       b'Southampton'], dtype=object)>, \n",
    "        'alone': <tf.Tensor: id=29, shape=(5,), dtype=string, numpy=array([b'y', b'n', b'n', b'y', b'y'], dtype=object)>\n",
    "    } \n",
    "    tf.Tensor([0 1 0 0 0], shape=(5,), dtype=int32)\n",
    ")\n",
    "'''"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "WARNING: Logging before flag parsing goes to stderr.\n",
      "W0612 21:28:32.137064 140736297124800 deprecation.py:323] From /Users/zhangyx/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow/python/feature_column/feature_column_v2.py:2758: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Use `tf.cast` instead.\n",
      "W0612 21:28:32.153759 140736297124800 deprecation.py:323] From /Users/zhangyx/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow/python/ops/lookup_ops.py:1347: to_int64 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Use `tf.cast` instead.\n",
      "W0612 21:28:32.162392 140736297124800 deprecation.py:323] From /Users/zhangyx/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow/python/feature_column/feature_column_v2.py:4307: IndicatorColumn._variable_shape (from tensorflow.python.feature_column.feature_column_v2) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "The old _FeatureColumn APIs are being deprecated. Please use the new FeatureColumn APIs instead.\n",
      "W0612 21:28:32.163794 140736297124800 deprecation.py:323] From /Users/zhangyx/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow/python/feature_column/feature_column_v2.py:4362: VocabularyListCategoricalColumn._num_buckets (from tensorflow.python.feature_column.feature_column_v2) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "The old _FeatureColumn APIs are being deprecated. Please use the new FeatureColumn APIs instead.\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[29.]\n",
      " [ 2.]\n",
      " [46.]\n",
      " [32.]\n",
      " [21.]]\n",
      "[[1. 0.]\n",
      " [0. 1.]\n",
      " [1. 0.]\n",
      " [1. 0.]\n",
      " [1. 0.]]\n"
     ]
    }
   ],
   "source": [
    "# keras.layers.DenseFeature\n",
    "for x, y in train_dataset.take(1):\n",
    "    age_column = feature_columns[7]\n",
    "    gender_column = feature_columns[0]\n",
    "    print(keras.layers.DenseFeatures(age_column)(x).numpy())\n",
    "    print(keras.layers.DenseFeatures(gender_column)(x).numpy())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[29.     0.     1.     0.     1.     0.     0.     0.     0.     0.\n",
      "   0.     1.     0.     0.     1.     0.     0.     0.    30.     0.\n",
      "   1.     0.     0.     0.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     1.     0.   ]\n",
      " [ 2.     1.     0.     0.     0.     1.     1.     0.     0.     0.\n",
      "   0.     0.     0.     0.     1.     0.     0.     0.    26.     1.\n",
      "   0.     0.     0.     0.     0.     0.     0.     1.     0.     0.\n",
      "   0.     0.     0.     1.   ]\n",
      " [46.     1.     0.     0.     1.     0.     0.     0.     0.     0.\n",
      "   0.     0.     0.     1.     1.     0.     0.     0.    61.175  1.\n",
      "   0.     0.     0.     0.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     1.     0.   ]\n",
      " [32.     0.     1.     1.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     0.     0.     1.     0.     0.     0.     7.925  0.\n",
      "   1.     0.     0.     0.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     1.     0.   ]\n",
      " [21.     0.     1.     1.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     0.     0.     1.     0.     0.     0.     8.05   0.\n",
      "   1.     0.     0.     0.     0.     0.     1.     0.     0.     0.\n",
      "   0.     0.     1.     0.   ]]\n"
     ]
    }
   ],
   "source": [
    "# keras.layers.DenseFeature\n",
    "for x, y in train_dataset.take(1):\n",
    "    print(keras.layers.DenseFeatures(feature_columns)(x).numpy())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 上面定义的哪些feature_columns有啥用？\n",
    "'''\n",
    "就是用来处理dataset的数据的\n",
    "\n",
    "我们从csv读入的dataset数据，里面包含了字符串，数字等信息，数据结构是类似map的数据\n",
    "如何将这些信息表示为数字（机器能识别的信息）？\n",
    "使用之前定义好的一系列的feature_columns。他的本质是个数据处理函数，\n",
    "通过指定传入的值的key，就能按照定义好的要求对数据进行编码。\n",
    "离散型数据就是用one-hot编码\n",
    "\n",
    "'''\n",
    "model = keras.models.Sequential([\n",
    "    ## 加一个DenseFeatures层，传入数据处理函数feature_columns\n",
    "    keras.layers.DenseFeatures(feature_columns),\n",
    "    keras.layers.Dense(100, activation='relu'),\n",
    "    keras.layers.Dense(100, activation='relu'),\n",
    "    keras.layers.Dense(2, activation='softmax'),\n",
    "])\n",
    "model.compile(loss='sparse_categorical_crossentropy',\n",
    "              optimizer = keras.optimizers.SGD(lr=0.01),\n",
    "              metrics = ['accuracy'])\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/100\n",
      "20/20 [==============================] - 1s 60ms/step - loss: 1.7809 - accuracy: 0.5523 - val_loss: 0.8140 - val_accuracy: 0.6992\n",
      "Epoch 2/100\n",
      "20/20 [==============================] - 1s 32ms/step - loss: 0.7985 - accuracy: 0.6325 - val_loss: 0.6381 - val_accuracy: 0.6875\n",
      "Epoch 3/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.7483 - accuracy: 0.6304 - val_loss: 0.6306 - val_accuracy: 0.6406\n",
      "Epoch 4/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.6461 - accuracy: 0.6396 - val_loss: 0.5957 - val_accuracy: 0.7031\n",
      "Epoch 5/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.6153 - accuracy: 0.6736 - val_loss: 0.5827 - val_accuracy: 0.6992\n",
      "Epoch 6/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.6233 - accuracy: 0.6573 - val_loss: 0.6350 - val_accuracy: 0.6992\n",
      "Epoch 7/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.6138 - accuracy: 0.6900 - val_loss: 0.6320 - val_accuracy: 0.6250\n",
      "Epoch 8/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.6053 - accuracy: 0.7124 - val_loss: 0.5757 - val_accuracy: 0.7148\n",
      "Epoch 9/100\n",
      "20/20 [==============================] - 1s 32ms/step - loss: 0.5748 - accuracy: 0.6971 - val_loss: 0.6258 - val_accuracy: 0.6602\n",
      "Epoch 10/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.6086 - accuracy: 0.6659 - val_loss: 0.5901 - val_accuracy: 0.6797\n",
      "Epoch 11/100\n",
      "20/20 [==============================] - 1s 32ms/step - loss: 0.5976 - accuracy: 0.6653 - val_loss: 0.5943 - val_accuracy: 0.6914\n",
      "Epoch 12/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.6003 - accuracy: 0.6745 - val_loss: 0.5728 - val_accuracy: 0.6875\n",
      "Epoch 13/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5726 - accuracy: 0.7267 - val_loss: 0.5710 - val_accuracy: 0.7109\n",
      "Epoch 14/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5714 - accuracy: 0.6819 - val_loss: 0.6088 - val_accuracy: 0.6953\n",
      "Epoch 15/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5967 - accuracy: 0.7044 - val_loss: 0.5612 - val_accuracy: 0.6992\n",
      "Epoch 16/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5761 - accuracy: 0.7188 - val_loss: 0.5598 - val_accuracy: 0.6914\n",
      "Epoch 17/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5970 - accuracy: 0.6734 - val_loss: 0.5909 - val_accuracy: 0.6758\n",
      "Epoch 18/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5932 - accuracy: 0.6634 - val_loss: 0.5557 - val_accuracy: 0.7109\n",
      "Epoch 19/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5564 - accuracy: 0.7147 - val_loss: 0.5954 - val_accuracy: 0.6836\n",
      "Epoch 20/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.6084 - accuracy: 0.6774 - val_loss: 0.5591 - val_accuracy: 0.7109\n",
      "Epoch 21/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5602 - accuracy: 0.7173 - val_loss: 0.6237 - val_accuracy: 0.6797\n",
      "Epoch 22/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5751 - accuracy: 0.6548 - val_loss: 0.5580 - val_accuracy: 0.6758\n",
      "Epoch 23/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5888 - accuracy: 0.6923 - val_loss: 0.5597 - val_accuracy: 0.6914\n",
      "Epoch 24/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5619 - accuracy: 0.7202 - val_loss: 0.6134 - val_accuracy: 0.7148\n",
      "Epoch 25/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5686 - accuracy: 0.7417 - val_loss: 0.5546 - val_accuracy: 0.6758\n",
      "Epoch 26/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5640 - accuracy: 0.6975 - val_loss: 0.5496 - val_accuracy: 0.7031\n",
      "Epoch 27/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5508 - accuracy: 0.7105 - val_loss: 0.5756 - val_accuracy: 0.7070\n",
      "Epoch 28/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5718 - accuracy: 0.7295 - val_loss: 0.5654 - val_accuracy: 0.6641\n",
      "Epoch 29/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5402 - accuracy: 0.7065 - val_loss: 0.5418 - val_accuracy: 0.7188\n",
      "Epoch 30/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5782 - accuracy: 0.6677 - val_loss: 0.5777 - val_accuracy: 0.6875\n",
      "Epoch 31/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5539 - accuracy: 0.7070 - val_loss: 0.5489 - val_accuracy: 0.6992\n",
      "Epoch 32/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5668 - accuracy: 0.7050 - val_loss: 0.5567 - val_accuracy: 0.6992\n",
      "Epoch 33/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5748 - accuracy: 0.7277 - val_loss: 0.5341 - val_accuracy: 0.6992\n",
      "Epoch 34/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5507 - accuracy: 0.7717 - val_loss: 0.6581 - val_accuracy: 0.6992\n",
      "Epoch 35/100\n",
      "20/20 [==============================] - 1s 49ms/step - loss: 0.5614 - accuracy: 0.7133 - val_loss: 0.5472 - val_accuracy: 0.6992\n",
      "Epoch 36/100\n",
      "20/20 [==============================] - 1s 42ms/step - loss: 0.5841 - accuracy: 0.6934 - val_loss: 0.5718 - val_accuracy: 0.6875\n",
      "Epoch 37/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5605 - accuracy: 0.7094 - val_loss: 0.5569 - val_accuracy: 0.6992\n",
      "Epoch 38/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5211 - accuracy: 0.7542 - val_loss: 0.5451 - val_accuracy: 0.7188\n",
      "Epoch 39/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5285 - accuracy: 0.7782 - val_loss: 0.5400 - val_accuracy: 0.7188\n",
      "Epoch 40/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5467 - accuracy: 0.7655 - val_loss: 0.5744 - val_accuracy: 0.7070\n",
      "Epoch 41/100\n",
      "20/20 [==============================] - 1s 40ms/step - loss: 0.5411 - accuracy: 0.7286 - val_loss: 0.5194 - val_accuracy: 0.7344\n",
      "Epoch 42/100\n",
      "20/20 [==============================] - 1s 40ms/step - loss: 0.5750 - accuracy: 0.7327 - val_loss: 0.5291 - val_accuracy: 0.7344\n",
      "Epoch 43/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5450 - accuracy: 0.7169 - val_loss: 0.5300 - val_accuracy: 0.7109\n",
      "Epoch 44/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5367 - accuracy: 0.7269 - val_loss: 0.5178 - val_accuracy: 0.7266\n",
      "Epoch 45/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5188 - accuracy: 0.7521 - val_loss: 0.5302 - val_accuracy: 0.7305\n",
      "Epoch 46/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5149 - accuracy: 0.7772 - val_loss: 0.5339 - val_accuracy: 0.7148\n",
      "Epoch 47/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5279 - accuracy: 0.7138 - val_loss: 0.6898 - val_accuracy: 0.6250\n",
      "Epoch 48/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5596 - accuracy: 0.6796 - val_loss: 0.5140 - val_accuracy: 0.7305\n",
      "Epoch 49/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5711 - accuracy: 0.7214 - val_loss: 0.5213 - val_accuracy: 0.7383\n",
      "Epoch 50/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5384 - accuracy: 0.7600 - val_loss: 0.5173 - val_accuracy: 0.7148\n",
      "Epoch 51/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5576 - accuracy: 0.7558 - val_loss: 0.7255 - val_accuracy: 0.5977\n",
      "Epoch 52/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5203 - accuracy: 0.7395 - val_loss: 0.5395 - val_accuracy: 0.7344\n",
      "Epoch 53/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5095 - accuracy: 0.7313 - val_loss: 0.5255 - val_accuracy: 0.7188\n",
      "Epoch 54/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5455 - accuracy: 0.7134 - val_loss: 0.5464 - val_accuracy: 0.7188\n",
      "Epoch 55/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5179 - accuracy: 0.7379 - val_loss: 0.5432 - val_accuracy: 0.7188\n",
      "Epoch 56/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.5236 - accuracy: 0.7619 - val_loss: 0.5835 - val_accuracy: 0.7109\n",
      "Epoch 57/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5367 - accuracy: 0.7311 - val_loss: 0.5632 - val_accuracy: 0.6914\n",
      "Epoch 58/100\n",
      "20/20 [==============================] - 1s 32ms/step - loss: 0.5607 - accuracy: 0.7104 - val_loss: 0.5422 - val_accuracy: 0.7188\n",
      "Epoch 59/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5511 - accuracy: 0.7216 - val_loss: 0.5191 - val_accuracy: 0.7344\n",
      "Epoch 60/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5082 - accuracy: 0.7337 - val_loss: 0.4986 - val_accuracy: 0.7539\n",
      "Epoch 61/100\n",
      "20/20 [==============================] - 1s 44ms/step - loss: 0.5041 - accuracy: 0.7682 - val_loss: 0.5438 - val_accuracy: 0.7305\n",
      "Epoch 62/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5568 - accuracy: 0.7381 - val_loss: 0.5093 - val_accuracy: 0.7227\n",
      "Epoch 63/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.5046 - accuracy: 0.7889 - val_loss: 0.5182 - val_accuracy: 0.7656\n",
      "Epoch 64/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5458 - accuracy: 0.6970 - val_loss: 0.5954 - val_accuracy: 0.7031\n",
      "Epoch 65/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5215 - accuracy: 0.7386 - val_loss: 0.5548 - val_accuracy: 0.7188\n",
      "Epoch 66/100\n",
      "20/20 [==============================] - 1s 38ms/step - loss: 0.5261 - accuracy: 0.7392 - val_loss: 0.5353 - val_accuracy: 0.7344\n",
      "Epoch 67/100\n",
      "20/20 [==============================] - 1s 43ms/step - loss: 0.5046 - accuracy: 0.7826 - val_loss: 0.5257 - val_accuracy: 0.7383\n",
      "Epoch 68/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.5524 - accuracy: 0.6854 - val_loss: 0.5303 - val_accuracy: 0.7188\n",
      "Epoch 69/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.5382 - accuracy: 0.7314 - val_loss: 0.5192 - val_accuracy: 0.7617\n",
      "Epoch 70/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5301 - accuracy: 0.7505 - val_loss: 0.5006 - val_accuracy: 0.7539\n",
      "Epoch 71/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5103 - accuracy: 0.7618 - val_loss: 0.5025 - val_accuracy: 0.7461\n",
      "Epoch 72/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5173 - accuracy: 0.7439 - val_loss: 0.5447 - val_accuracy: 0.7148\n",
      "Epoch 73/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5584 - accuracy: 0.7460 - val_loss: 0.5098 - val_accuracy: 0.7383\n",
      "Epoch 74/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5037 - accuracy: 0.7842 - val_loss: 0.5262 - val_accuracy: 0.7461\n",
      "Epoch 75/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.5004 - accuracy: 0.7716 - val_loss: 0.5730 - val_accuracy: 0.7148\n",
      "Epoch 76/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5641 - accuracy: 0.7452 - val_loss: 0.5085 - val_accuracy: 0.7617\n",
      "Epoch 77/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5091 - accuracy: 0.7811 - val_loss: 0.5053 - val_accuracy: 0.7344\n",
      "Epoch 78/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5511 - accuracy: 0.7187 - val_loss: 0.5031 - val_accuracy: 0.7266\n",
      "Epoch 79/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5083 - accuracy: 0.7593 - val_loss: 0.4989 - val_accuracy: 0.7617\n",
      "Epoch 80/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.4995 - accuracy: 0.7893 - val_loss: 0.5074 - val_accuracy: 0.7617\n",
      "Epoch 81/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5241 - accuracy: 0.7507 - val_loss: 0.4950 - val_accuracy: 0.7383\n",
      "Epoch 82/100\n",
      "20/20 [==============================] - 1s 42ms/step - loss: 0.4666 - accuracy: 0.7729 - val_loss: 0.5883 - val_accuracy: 0.6836\n",
      "Epoch 83/100\n",
      "20/20 [==============================] - 1s 37ms/step - loss: 0.5805 - accuracy: 0.7085 - val_loss: 0.5400 - val_accuracy: 0.7188\n",
      "Epoch 84/100\n",
      "20/20 [==============================] - 1s 34ms/step - loss: 0.5233 - accuracy: 0.7658 - val_loss: 0.4943 - val_accuracy: 0.7422\n",
      "Epoch 85/100\n",
      "20/20 [==============================] - 1s 32ms/step - loss: 0.4887 - accuracy: 0.8143 - val_loss: 0.6352 - val_accuracy: 0.6641\n",
      "Epoch 86/100\n",
      "20/20 [==============================] - 1s 45ms/step - loss: 0.5065 - accuracy: 0.7391 - val_loss: 0.4998 - val_accuracy: 0.7305\n",
      "Epoch 87/100\n",
      "20/20 [==============================] - 1s 45ms/step - loss: 0.5476 - accuracy: 0.7277 - val_loss: 0.5095 - val_accuracy: 0.7422\n",
      "Epoch 88/100\n",
      "20/20 [==============================] - 1s 60ms/step - loss: 0.5392 - accuracy: 0.7086 - val_loss: 0.5002 - val_accuracy: 0.7422\n",
      "Epoch 89/100\n",
      "20/20 [==============================] - 1s 45ms/step - loss: 0.5009 - accuracy: 0.7780 - val_loss: 0.5163 - val_accuracy: 0.7305\n",
      "Epoch 90/100\n",
      "20/20 [==============================] - 1s 41ms/step - loss: 0.4921 - accuracy: 0.7718 - val_loss: 0.5276 - val_accuracy: 0.7344\n",
      "Epoch 91/100\n",
      "20/20 [==============================] - 1s 39ms/step - loss: 0.5365 - accuracy: 0.7000 - val_loss: 0.5515 - val_accuracy: 0.6914\n",
      "Epoch 92/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.4888 - accuracy: 0.7715 - val_loss: 0.4882 - val_accuracy: 0.7461\n",
      "Epoch 93/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.5225 - accuracy: 0.7628 - val_loss: 0.5469 - val_accuracy: 0.7305\n",
      "Epoch 94/100\n",
      "20/20 [==============================] - 1s 33ms/step - loss: 0.4994 - accuracy: 0.7591 - val_loss: 0.5015 - val_accuracy: 0.7539\n",
      "Epoch 95/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5099 - accuracy: 0.7522 - val_loss: 0.5085 - val_accuracy: 0.7578\n",
      "Epoch 96/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.4955 - accuracy: 0.7732 - val_loss: 0.4935 - val_accuracy: 0.7422\n",
      "Epoch 97/100\n",
      "20/20 [==============================] - 1s 35ms/step - loss: 0.5200 - accuracy: 0.7628 - val_loss: 0.4933 - val_accuracy: 0.7461\n",
      "Epoch 98/100\n",
      "20/20 [==============================] - 1s 36ms/step - loss: 0.4800 - accuracy: 0.7610 - val_loss: 0.6802 - val_accuracy: 0.6641\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "W0612 21:29:53.941813 140736297124800 training_generator.py:228] Your dataset ran out of data; interrupting training. Make sure that your dataset can generate at least `steps_per_epoch * epochs` batches (in this case, 2000 batches). You may need to use the repeat() function when building your dataset.\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 99/100\n",
      "\r",
      " 0/20 [..............................] - ETA: 0s - loss: 0.0000e+00 - accuracy: 0.0000e+00 - val_loss: 0.0000e+00 - val_accuracy: 0.0000e+00"
     ]
    }
   ],
   "source": [
    "# 1. model.fit \n",
    "# 2. model -> estimator -> train\n",
    "\n",
    "train_dataset = make_dataset(train_df, y_train, epochs = 100)\n",
    "eval_dataset = make_dataset(eval_df, y_eval, epochs = 1, shuffle = False)\n",
    "history = model.fit(train_dataset,\n",
    "                    validation_data = eval_dataset,\n",
    "                    steps_per_epoch = 20,\n",
    "                    validation_steps = 8,\n",
    "                    epochs = 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "W0612 21:31:02.642828 140736297124800 estimator.py:1799] Using temporary folder as model directory: /var/folders/9t/8dd6n43j7zj6gxv762vzwm2h0000gn/T/tmp_uxfsac1\n",
      "W0612 21:31:02.645179 140736297124800 keras.py:492] You are creating an Estimator from a Keras model manually subclassed from `Model`, that was already called on some inputs (and thus already had weights). We are currently unable to preserve the model's state (its weights) as part of the estimator in this case. Be warned that the estimator has been created using a freshly initialized version of your model.\n",
      "Note that this doesn't affect the state of the model instance you passed as `keras_model` argument.\n",
      "W0612 21:31:02.658140 140736297124800 deprecation.py:323] From /Users/zhangyx/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow/python/training/training_util.py:238: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.\n"
     ]
    },
    {
     "ename": "KeyError",
     "evalue": "\"The dictionary passed into features does not have the expected inputs keys defined in the keras model.\\n\\tExpected keys: {'input_9', 'input_1', 'input_8', 'input_6', 'input_4', 'input_5', 'input_3', 'input_2', 'input_7'}\\n\\tfeatures keys: {'age', 'sex', 'embark_town', 'alone', 'deck', 'n_siblings_spouses', 'class', 'parch', 'fare'}\\n\\tDifference: {'input_9', 'age', 'input_1', 'input_8', 'sex', 'embark_town', 'alone', 'input_6', 'deck', 'input_4', 'n_siblings_spouses', 'class', 'input_5', 'parch', 'input_3', 'input_2', 'input_7', 'fare'}\"",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mKeyError\u001b[0m                                  Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-18-7904a567a5dd>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m      2\u001b[0m \u001b[0;31m# 1. function\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      3\u001b[0m \u001b[0;31m# 2. return a. (features, labels) b. dataset -> (feature, label)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m estimator.train(input_fn = lambda : make_dataset(\n\u001b[0m\u001b[1;32m      5\u001b[0m     train_df, y_train, epochs=100))\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py\u001b[0m in \u001b[0;36mtrain\u001b[0;34m(self, input_fn, hooks, steps, max_steps, saving_listeners)\u001b[0m\n\u001b[1;32m    357\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    358\u001b[0m       \u001b[0msaving_listeners\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0m_check_listeners_type\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msaving_listeners\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 359\u001b[0;31m       \u001b[0mloss\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_train_model\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minput_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhooks\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msaving_listeners\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    360\u001b[0m       \u001b[0mlogging\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minfo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'Loss for final step: %s.'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mloss\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    361\u001b[0m       \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py\u001b[0m in \u001b[0;36m_train_model\u001b[0;34m(self, input_fn, hooks, saving_listeners)\u001b[0m\n\u001b[1;32m   1137\u001b[0m       \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_train_model_distributed\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minput_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhooks\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msaving_listeners\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1138\u001b[0m     \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1139\u001b[0;31m       \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_train_model_default\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minput_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhooks\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msaving_listeners\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   1140\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1141\u001b[0m   \u001b[0;32mdef\u001b[0m \u001b[0m_train_model_default\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0minput_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhooks\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msaving_listeners\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py\u001b[0m in \u001b[0;36m_train_model_default\u001b[0;34m(self, input_fn, hooks, saving_listeners)\u001b[0m\n\u001b[1;32m   1167\u001b[0m       \u001b[0mworker_hooks\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mextend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minput_hooks\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1168\u001b[0m       estimator_spec = self._call_model_fn(\n\u001b[0;32m-> 1169\u001b[0;31m           features, labels, ModeKeys.TRAIN, self.config)\n\u001b[0m\u001b[1;32m   1170\u001b[0m       \u001b[0mglobal_step_tensor\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtraining_util\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_global_step\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1171\u001b[0m       return self._train_with_estimator_spec(estimator_spec, worker_hooks,\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py\u001b[0m in \u001b[0;36m_call_model_fn\u001b[0;34m(self, features, labels, mode, config)\u001b[0m\n\u001b[1;32m   1125\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1126\u001b[0m     \u001b[0mlogging\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minfo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'Calling model_fn.'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1127\u001b[0;31m     \u001b[0mmodel_fn_results\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_model_fn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfeatures\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mfeatures\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   1128\u001b[0m     \u001b[0mlogging\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minfo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'Done calling model_fn.'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1129\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/keras.py\u001b[0m in \u001b[0;36mmodel_fn\u001b[0;34m(features, labels, mode)\u001b[0m\n\u001b[1;32m    280\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    281\u001b[0m     model = _clone_and_build_model(mode, keras_model, custom_objects, features,\n\u001b[0;32m--> 282\u001b[0;31m                                    labels)\n\u001b[0m\u001b[1;32m    283\u001b[0m     \u001b[0mmodel_output_names\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    284\u001b[0m     \u001b[0;31m# We need to make sure that the output names of the last layer in the model\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/keras.py\u001b[0m in \u001b[0;36m_clone_and_build_model\u001b[0;34m(mode, keras_model, custom_objects, features, labels)\u001b[0m\n\u001b[1;32m    186\u001b[0m   \u001b[0mK\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mset_learning_phase\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmode\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0mModeKeys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mTRAIN\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    187\u001b[0m   input_tensors, target_tensors = _convert_estimator_io_to_keras(\n\u001b[0;32m--> 188\u001b[0;31m       keras_model, features, labels)\n\u001b[0m\u001b[1;32m    189\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    190\u001b[0m   \u001b[0mcompile_clone\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmode\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0mModeKeys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPREDICT\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/keras.py\u001b[0m in \u001b[0;36m_convert_estimator_io_to_keras\u001b[0;34m(keras_model, features, labels)\u001b[0m\n\u001b[1;32m    159\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    160\u001b[0m   input_tensors = _to_ordered_tensor_list(\n\u001b[0;32m--> 161\u001b[0;31m       features, input_names, 'features', 'inputs')\n\u001b[0m\u001b[1;32m    162\u001b[0m   target_tensors = _to_ordered_tensor_list(\n\u001b[1;32m    163\u001b[0m       labels, output_names, 'labels', 'outputs')\n",
      "\u001b[0;32m~/workspace/environments/tf2_py3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/keras.py\u001b[0m in \u001b[0;36m_to_ordered_tensor_list\u001b[0;34m(obj, key_order, obj_name, order_name)\u001b[0m\n\u001b[1;32m    141\u001b[0m                 \u001b[0morder_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0morder_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0morder_keys\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mset\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mkey_order\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    142\u001b[0m                 \u001b[0mobj_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mobj_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mobj_keys\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mset\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeys\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 143\u001b[0;31m                 different_keys=different_keys))\n\u001b[0m\u001b[1;32m    144\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    145\u001b[0m       \u001b[0;32mreturn\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0m_convert_tensor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mkey\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mkey\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mkey_order\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mKeyError\u001b[0m: \"The dictionary passed into features does not have the expected inputs keys defined in the keras model.\\n\\tExpected keys: {'input_9', 'input_1', 'input_8', 'input_6', 'input_4', 'input_5', 'input_3', 'input_2', 'input_7'}\\n\\tfeatures keys: {'age', 'sex', 'embark_town', 'alone', 'deck', 'n_siblings_spouses', 'class', 'parch', 'fare'}\\n\\tDifference: {'input_9', 'age', 'input_1', 'input_8', 'sex', 'embark_town', 'alone', 'input_6', 'deck', 'input_4', 'n_siblings_spouses', 'class', 'input_5', 'parch', 'input_3', 'input_2', 'input_7', 'fare'}\""
     ]
    }
   ],
   "source": [
    "estimator = keras.estimator.model_to_estimator(model)\n",
    "# 1. function\n",
    "# 2. return a. (features, labels) b. dataset -> (feature, label)\n",
    "estimator.train(input_fn = lambda : make_dataset(\n",
    "    train_df, y_train, epochs=100))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
